package com.lichuang.fruitvarietysm.order.enums;

import lombok.Getter;

/**
 * 订单状态，0=待付款，1=待发货，2=待收货，3=待评价，4=交易成功，5=交易关闭，6=已取消
 */
@Getter
public enum OrderStatus {
    WAIT_BUYER_PAY(0),
    WAIT_SELLER_DELIVERY(1),
    WAIT_RECEIVE_GOODS(2),
    WAIT_ESTIMATE(3),
    DEAL_SUCCESS(4),
    DEAL_CLOSE(5),
    DEAK_CANCLE(6);

    private Integer value;

    OrderStatus(Integer value){
        this.value = value;
    }
}
